<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="p"%>
<%
	String path = request.getContextPath();
	String root = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
	request.setAttribute("root", root);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=8" />

	<title>MochaUI - A Web Applications User Interface Library</title>
	<meta name="description" content="A web applications user interface library built on the Mootools javascript framework" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />

	<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Content.css" />
	<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Core.css" />
	<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Layout.css" />
	<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Dock.css" />
	<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Tabs.css" />
	<link rel="stylesheet" type="text/css" href="${root}/static/themes/default/css/Window.css" />

    <script type="text/javascript" src="${root}/static/scripts/mootools-1.2.4-core-yc.js"></script>
    <script type="text/javascript" src="${root}/static/scripts/mootools-1.2.4-more-yc.js"></script>
    <script type="text/javascript" src="${root}/static/scripts/mocha.js"></script>    
	<script type="text/javascript" src="${root}/static/scripts/demo-virtual-desktop-init.js"></script>
	<script type="text/javascript" src="${root}/static/plugins/tree/scripts/tree.js"></script>
	<script type="text/javascript" src="${root}/static/wdate/WdatePicker.js"></script>
<style>
<!--
.t_lable{text-align: right;padding-right: 5px}
table{min-width: 1030px}
table tr{height: 30px}
table tr td{padding-left: 5px}
.required{color: red;font-weight: bold;margin-left: 3px;}
-->
</style>
</head><body>
<s:form id="myForm" action="employee/update.action" method="post" theme="simple">
<table width="100%" border="1">
  <tr>
    <td colspan="8">员工基本信息</td>
  </tr>
  <tr>
    <td class="t_lable">姓名</td>
    <td><s:textfield cssClass="input" size="27" name="employee.name"/><span class="required">*</span></td>
    <td class="t_lable">身份证</td>
    <td><s:textfield cssClass="input" size="27" name="employee.idcard"/></td>
    <td class="t_lable">性别</td>
    <td><s:select name="employee.gender" list="#{'男':'男', '女':'女'}" cssClass="select"/><span class="required">*</span></td>
    <td class="t_lable">民族</td>
    <td><s:textfield cssClass="input" size="27" name="employee.nation"/></td>
    </tr>
  <tr>
    <td class="t_lable">户籍地址</td>
    <td><s:textfield cssClass="input" size="27" name="employee.residence"/><span class="required">*</span></td>
    <td class="t_lable">联系地址</td>
    <td><s:textfield cssClass="input" size="27" name="employee.contactAddresses"/></td>
    <td class="t_lable">邮政编码</td>
    <td><s:textfield cssClass="input" size="27" name="employee.zip"/><span class="required">*</span></td>
    <td class="t_lable">EMAIL</td>
    <td><s:textfield cssClass="input" size="27" name="employee.email"/><span class="required">*</span></td>
   </tr>
  <tr>
    <td class="t_lable">电话</td>
    <td><s:textfield cssClass="input" size="27" name="employee.tel"/><span class="required">*</span></td>
    <td class="t_lable">婚姻状况</td>
    <td><s:select name="employee.marital" list="#{'已婚':'已婚', '未婚':'未婚'}" cssClass="select"/></td>
    <td class="t_lable">政治面貌</td>
    <td><s:textfield cssClass="input" size="27" name="employee.politicsStatus"/></td>
    <td class="t_lable">入学时间</td>
    <td><s:textfield cssClass="input" size="27" name="employee.schoolDate" readonly="readonly" onclick="WdatePicker();"/></td>
    </tr>
  <tr>
    <td class="t_lable">毕业学校</td>
    <td><s:textfield cssClass="input" size="27" name="employee.gradSchool"/></td>
    <td class="t_lable">毕业时间</td>
    <td><s:textfield cssClass="input" size="27" name="employee.gradDate" readonly="readonly" onclick="WdatePicker();"/></td>
    <td class="t_lable">学历获得形式</td>
    <td><s:textfield cssClass="input" size="27" name="employee.obtainEdu"/></td>
    <td class="t_lable">毕业状态</td>
    <td><s:textfield cssClass="input" size="27" name="employee.gradState"/></td>
    </tr>
  <tr>
    <td class="t_lable">专业</td>
    <td><s:textfield cssClass="input" size="27" name="employee.major"/></td>
    <td class="t_lable">学历证书编号</td>
    <td><s:textfield cssClass="input" size="27" name="employee.gradNum"/></td>
    <td class="t_lable">紧急电话</td>
    <td><s:textfield cssClass="input" size="27" name="employee.emergencyTel"/></td>
    <td class="t_lable">参加工作时间</td>
    <td><s:textfield cssClass="input" size="27" name="employee.jobDate" readonly="readonly" onclick="WdatePicker();"/></td>
   </tr>
  <tr>
    <td class="t_lable">国籍</td>
    <td><s:textfield cssClass="input" size="27" name="employee.country"/><span class="required">*</span></td>
    <td class="t_lable">户口性质</td>
    <td><s:textfield cssClass="input" size="27" name="employee.accountsProperties"/></td>
    <td class="t_lable">学历</td>
    <td><s:textfield cssClass="input" size="27" name="employee.edu"/></td>
    <td class="t_lable"></td>
    <td class="t_lable"></td>
    </tr>
  <tr>
    <td class="t_lable" valign="top">员工备注</td>
    <td colspan="7"><s:textarea cssStyle="width: 99%;height: 50px" name="employee.summary"></s:textarea> </td>
  </tr>
  <tr>
    <td colspan="8" align="right" style="padding-right: 10px;height: 50px"><input type="reset" class="button" value="  清 空  "/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="submit" class="button" value="  保 存  "/></td>
  </tr>
</table>
</s:form>
</body></html>
